package com.situ.water_pay.pojo;

import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.situ.water_pay.mapper.PyBilldetailMapper;
import com.situ.water_system.pojo.SyCosttype;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 *
 * </p>
 *
 * @author Angel
 * @since 2020-12-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "PyBilldetail对象", description = "")
@TableName(value = "Py_Billdetail", resultMap = "PyBilldetailMap")
public class PyBilldetail implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "ID",type = IdType.AUTO)
    private Integer id;

    @TableField("BillNo")
    private String BillNo;

    @TableField(exist = false)
    private PyBill pyBill;

    @TableField("UserNo")
    private String UserNo;

    @TableField("CostTypeCode")
    private String CostTypeCode;

    @TableField(exist = false)
    private SyCosttype syCosttype;

    @TableField("Amount")
    private Integer Amount;

    @TableField("Price")
    private Double Price;

    @TableField("DetailMoney")
    private Double DetailMoney;

    @TableField("RealMoney")
    private Double RealMoney;

    @TableField("Balance")
    private Boolean Balance;

    @TableField("BalanceDate")
    private Date BalanceDate;


}
